<?php require_once("../Core/Manage.php"); ?>
<?php
$Userid=formArgs('userid');
$Password=strtoupper(md5(formArgs('password')));
$IsSetCookiesExpire=formArgs('isSetCookiesExpire');

echo Service_Cedar::Manager_ToLogin($Userid, $Password, $IsSetCookiesExpire);
exit('-');
if(Service_Cedar::Manager_ToLogin($Userid, $Password, $IsSetCookiesExpire)=='true')
{
    Extend::JsLocation('main.php');
}
else
{
    Extend::JsAlert('用户名或密码错误');
    Extend::JsHistory(-1);
}
?>